void StringToHex(int size, char *text,char *outbuf);
void HexToString(char *hexbuf,char *strout,int sizehexbuf);